package org.dromara.ai.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.Date;

/**
 * 历史访问作品对象 ai_work_access_history
 *
 * @author Tang
 * @date 2024-12-08
 */
@Data
@TableName("ai_work_access_history")
public class AiWorkAccessHistory {


    /**
     * 喜欢ID
     */
    @TableId(value = "access_history_id")
    private Long accessHistoryId;

    /**
     * 作品ID
     */
    private Long workId;

    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;


}
